import { useParams  } from 'react-router-dom'

const Detail = () => {
    const params = useParams()
    return <div>
        详情
        {params.id}
    </div>
}

export default Detail